class BoardPost < ActiveRecord::Base
   belongs_to :board
   has_many :board_comment
   has_many :board_file
   belongs_to :user

   validates_presence_of :title,:board_id,:fl_enable
   #validates_associated :board

end
